
<div class="row clearfix">
    <div class="col-md-11 column">
        <div class="alert alert-info" role="alert">
            <h3 class="panel-title">
                <span class="glyphicon glyphicon-flag" style=""> 热门文章</span>          
                <span class="glyphicon glyphicon-remove btn panel-close pull-right" ></span>
                <span class="glyphicon glyphicon-chevron-up btn panel-collapse pull-right"  data-toggle="collapse" data-target="#hotest-post-list"  ></span>
            </h3>
        </div>
        <ul id="hotest-post-list" class="list-group collapse in alert-warning">
            {% for article in hot_article_list %}
                <li class="list-group-item  ">
                <span class="hotest-post-title"><a href="{% url 'article-detail-view' article.en_title %}" style="color:gray">
                     {% autoescape on%}
                    {{article.title|slice:"20"}}  
                    {% endautoescape %}
                        {% if article.title|length > 20%} 
                    ... 
                    {%endif %}</a> </span>
                <span class="badge" style="background-color:orangered" >{{article.view_times}}</span>
                </li>
            {% endfor %}
        </ul>
    </div>
</div>
